package com.dubbo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.dubbo.mapper.UserMapper;
import com.dubbo.pojo.User;
import com.dubbo.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;


@DubboService(timeout = 10000)
//继承ServiceImpl<UserMapper,User>  实现UserService接口
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

//    @Resource
//    private UserMapper userMapper;
//
//    public List<User> find() {
//        return userMapper.selectList(null);
//    }
}
